import request from '@/utils/request'

export function getProductList(params) {
  console.log(params)
  return request({
    url: '/pre/product/query',
    method: 'post',
    data: params
  })
}

export function addProduct(params) {
  console.log(params)
  return request({
    url: '/pre/product/add',
    method: 'post',
    data: params
  })
}

export function changeProductStatus(params) {
  console.log(params)
  return request({
    url: '/pre/product/delete',
    method: 'post',
    data: params
  })
}
